//crypto加密模块

const crypto=require('crypto');
const md5=crypto.createHash("md5");
md5.update("hello Node.js");
console.log(md5.copy().digest("hex"));

const md5New=crypto.createHmac("md5","secret key");